package com.example.server.entity;

import lombok.Data;

import java.io.Serializable;
import java.math.BigInteger;
import java.sql.Timestamp;

@Data
public class Comment implements Serializable {
    private BigInteger commid;
    private String content;
    private Timestamp time; // datetime : java.sql.TimeStamp
    private String ip;
    private int likes;
    private BigInteger pid;
    private BigInteger uid;

    private User user;
    private Product product;


}
